import request from '@/utils/request'

// 学生列表
export function studentLists(params?: Record<string, any>) {
    console.log("学生列表")
    return request.get({ url: '/student/list', params })
}

// 学生详情
export function studentDetail(params: Record<string, any>) {
    return request.get({ url: '/student/detail', params })
}

// 学生新增
export function studentAdd(params: Record<string, any>) {
    return request.post({ url: '/student/add', params })
}

// 学生编辑
export function studentEdit(params: Record<string, any>) {
    return request.post({ url: '/student/edit', params })
}

// 学生删除
export function studentDelete(params: Record<string, any>) {
    return request.post({ url: '/student/del', params })
}
